using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;  
using System.Data.Linq.Mapping;
namespace MRSite.Entity  
{  
	 [Table(Name = "article")] 
	 public class Article : Entity
	{ 
		/// <summary>
		///
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; } 

		/// <summary>
		///
		/// </summary>
		[Column(Name = "title")]
		public String title{ get; set; } 

		/// <summary>
		///
		/// </summary>
		[Column(Name = "cid")]
		public int cid{ get; set; } 

		/// <summary>
		///
		/// </summary>
		[Column(Name = "addtime")]
		public DateTime addtime{ get; set; } 

         
		/// <summary>
		///   ͼƬ
		/// </summary>
        [Column(Name = "imgurl")]
        public String imgurl { get; set; } 
         

		/// <summary>
		///
		/// </summary>
		[Column(Name = "contents")]
		public String contents{ get; set; } 

	 } 
}    

